package cn.iocoder.yudao.module.scrm.dal.mysql.customer;


import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.scrm.dal.dataobject.customer.CustomerPoolConfigDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 客户公海配置 Mapper
 *
 * @author Wanwan
 */
@Mapper
public interface CustomerPoolConfigMapper extends BaseMapperX<CustomerPoolConfigDO> {

    default CustomerPoolConfigDO selectOne() {
        return selectOne(new LambdaQueryWrapperX<CustomerPoolConfigDO>().last("LIMIT 1"));
    }

}
